package com.travel.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.common.utils.PageUtils;
import com.travel.ticket.entity.SkuInfoEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lxw
 * @email lxw@gmail.com
 * @date 2023-12-07 21:18:58
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SkuInfoEntity> getSkuListBySpuId(Integer spuId);

    BigDecimal getSkuPrice(Integer spuId, String selectedAttrs);
}

